﻿<? //die() ?>
<html>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    <body>
        <?
            $ts = time();
            define('__KEY', '5eh6Wrab');
        ?>
    <form action="deal.php" method="post">
        <input type="hidden" name="con_email" value="tomasz.jantczak@gruper.pl"/>
        <input type="hidden" name="account_email" value="nowy_test@wp.pl"/>
        <input type="hidden" name="nip" value="6911879187"/>
        <input type="hidden" name="date_closed" value="<?=$ts?>"/>
        <input type="hidden" name="amount" value="1"/>
        <input type="hidden" name="name" value="39 zł za 100 zł na fryzjera"/>
        <?
            $sig = md5(http_build_query(array('con_email' => 'tomasz.jantczak@gruper.pl', 'account_email' => 'nowy_test@wp.pl', 'nip' => '6911879187', 
                'date_closed' => $ts, 'amount' => '1', 'name' => '39 zł za 100 zł na fryzjera')).__KEY);
        ?>
        <input type="hidden" name="sig" value="<?=$sig?>"/>
        <input type="submit" value="dodaj deal"/>
    </form>
    
    </body>
</html>
